﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FDEE.Model
{
    public class Footing4ParaEnum
    {
        /// <summary>
        /// 定义承台每一编号对应的钢筋（1-5？/6？）
        /// </summary>
        /// <param name="ePCType">类型</param>
        /// <param name="c">高度类型</param>
        /// <returns></returns>
        public static Dictionary<int, Dictionary<eDB, int>> GetFootingParaByType(EFootingType ePCType, eSubType c)
        {
            Dictionary<int, Dictionary<eDB, int>> dic = new Dictionary<int, Dictionary<eDB, int>>();
            Dictionary<eDB, int> dbdic = new Dictionary<eDB, int>();
            switch (ePCType)
            {
                case EFootingType.FPL2:

                    //1号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB28, 150);
                    dic.Add(1, dbdic);
                    //2号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB25, 175);
                    dic.Add(2, dbdic);
                    //3号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(3, dbdic);
                    //4号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(4, dbdic);
                    //5号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(5, dbdic);
                    //6号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB32, 300);
                    dic.Add(6, dbdic);
                    break;
                case EFootingType.F1PTL1:
                    //case EFootingType.F2PTL1:
                    //1号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB28, 125);
                    dic.Add(1, dbdic);
                    //2号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB25, 150);
                    dic.Add(2, dbdic);
                    //3号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(3, dbdic);
                    //4号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(4, dbdic);
                    //5号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(5, dbdic);
                    //6号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB32, 300);
                    dic.Add(6, dbdic);
                    break;

                case EFootingType.FPTL2:

                    //1号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB28, 125);
                    dic.Add(1, dbdic);
                    //2号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB25, 150);
                    dic.Add(2, dbdic);
                    //3号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(3, dbdic);
                    //4号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(4, dbdic);
                    //5号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(5, dbdic);
                    //6号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB32, 300);
                    dic.Add(6, dbdic);
                    break;
                case EFootingType.FPTE3:

                    //1号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB25, 175);
                    dic.Add(1, dbdic);
                    //2号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB25, 200);
                    dic.Add(2, dbdic);
                    //3号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(3, dbdic);
                    //4号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(4, dbdic);
                    //5号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB12, 300);
                    dic.Add(5, dbdic);
                    //6号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB32, 300);
                    dic.Add(6, dbdic);
                    break;
                case EFootingType.FPTE32:

                    //1号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB25, 150);
                    dic.Add(1, dbdic);
                    //2号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB25, 200);
                    dic.Add(2, dbdic);
                    //3号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(3, dbdic);
                    //4号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(4, dbdic);
                    //5号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB12, 300);
                    dic.Add(5, dbdic);
                    //6号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB32, 300);
                    dic.Add(6, dbdic);
                    break;
                case EFootingType.FPTE2:
                   
                    //1号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB25, 125);
                    dic.Add(1, dbdic);
                    //2号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB25, 200);
                    dic.Add(2, dbdic);
                    //3号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(3, dbdic);
                    //4号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(4, dbdic);
                    //5号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB12, 300);
                    dic.Add(5, dbdic);
                    //6号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB32, 300);
                    dic.Add(6, dbdic);
                    break;
                case EFootingType.FPME11:
                    //if (c == eSubType.C)
                    // {
                    //1号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB32, 150);
                    dic.Add(1, dbdic);
                    //2号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB25, 150);
                    dic.Add(2, dbdic);
                    //3号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(3, dbdic);
                    //4号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(4, dbdic);
                    //5号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(5, dbdic);
                    //6号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB32, 300);
                    dic.Add(6, dbdic);
                    //}
                    break;
                case EFootingType.FPME12:
                    //if (c == eSubType.C)
                    // {
                    //1号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB28, 150);
                    dic.Add(1, dbdic);
                    //2号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB25, 200);
                    dic.Add(2, dbdic);
                    //3号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(3, dbdic);
                    //4号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(4, dbdic);
                    //5号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(5, dbdic);
                    //6号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB32, 300);
                    dic.Add(6, dbdic);
                    //}
                    break;
                case EFootingType.FPME41:
                   //if (c == eSubType.C)
                   // {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 150);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    //}
                    break;
                case EFootingType.FPME42:
                    //if (c == eSubType.C)
                    //{
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 100);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 100);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    //}
                    break;
                case EFootingType.F1PME5:
                    //if (c == eSubType.C)
                    // {
                    //1号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB32, 100);
                    dic.Add(1, dbdic);
                    //2号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB32, 100);
                    dic.Add(2, dbdic);
                    //3号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(3, dbdic);
                    //4号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(4, dbdic);
                    //5号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(5, dbdic);
                    //6号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB32, 300);
                    dic.Add(6, dbdic);
                    //}
                    break;
                case EFootingType.F2PME5:
                    //if (c == eSubType.C)
                    //{
                    //1号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB28, 100);
                    dic.Add(1, dbdic);
                    //2号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB25, 200);
                    dic.Add(2, dbdic);
                    //3号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(3, dbdic);
                    //4号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(4, dbdic);
                    //5号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(5, dbdic);
                    //6号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB32, 300);
                    dic.Add(6, dbdic);
                    //}
                    break;
                case EFootingType.FPTM3S:
                    if (c == eSubType.D|| c == eSubType.C)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 150);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.F1PTM2:
                    if (c == eSubType.A || c == eSubType.B)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 175);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    else if (c == eSubType.C|| c == eSubType.D)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 125);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 175);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.F2PTM2:
                    if (c == eSubType.A || c == eSubType.B)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 175);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    else if (c == eSubType.C|| c == eSubType.D)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 125);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 175);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;

                case EFootingType.FPTM2S:
                    if (c == eSubType.A || c == eSubType.B || c == eSubType.C)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 150);
                        //dbdic.Add(eDB.DB32, 150); //P328
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }                  
                    break;
                case EFootingType.FPTM2U:
                    if (c == eSubType.C)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 175);
                        //dbdic.Add(eDB.DB32, 150); //P328
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.F1PTM3:
                    if (c == eSubType.A || c == eSubType.B)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 175);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    else if (c == eSubType.C|| c == eSubType.D)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 125);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 175);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.F2PTM3:

                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 125);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 175);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);

                    break;
                case EFootingType.FPTM3U:
                    if (c == eSubType.A || c == eSubType.B || c == eSubType.C)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.FPTM4:

                    //1号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB32, 250);
                    dic.Add(1, dbdic);
                    //2号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB25, 175);
                    dic.Add(2, dbdic);
                    //3号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(3, dbdic);
                    //4号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(4, dbdic);
                    //5号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB16, 300);
                    dic.Add(5, dbdic);
                    //6号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB32, 300);
                    dic.Add(6, dbdic);

                    break;
                case EFootingType.FPM1:
                    if (c == eSubType.A)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 175);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 175);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    else if (c == eSubType.B||c == eSubType.C||c == eSubType.D)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 150);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.FPTM1:
                    if (c == eSubType.A|| c == eSubType.B)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    else if (c == eSubType.C || c == eSubType.D)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 125);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.FPTM1S:
                    
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 100);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 150);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                  
                    break;
                case EFootingType.F1PTM1U:
                    if (c == eSubType.A || c == eSubType.B || c == eSubType.C)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 125);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.F2PTM1U:
                    if (c == eSubType.A || c == eSubType.B || c == eSubType.C)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 125);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.F1PTM1T:
                    if (c == eSubType.B )
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    else if ( c == eSubType.C)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 125);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.F2PTM1T:
                    if (c == eSubType.A || c == eSubType.B || c == eSubType.C)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 125);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.F1PTM2T:
                    if (c == eSubType.A||c == eSubType.B)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 125);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 175);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }                   
                    break;
                case EFootingType.F2PTM2T:
                    if (c == eSubType.A || c == eSubType.B)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 125);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 175);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.F1PTM3T:
                    if (c == eSubType.A || c == eSubType.B)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 175);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.F2PTM3T:
                    if (c == eSubType.A || c == eSubType.B)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 125);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 175);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.FPE11:
                    if (c == eSubType.A || c == eSubType.B || c == eSubType.BM)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    else if (c == eSubType.C || c == eSubType.CM || c == eSubType.D || c == eSubType.E)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 175);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    else if (c == eSubType.F || c == eSubType.G)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.FPE12:
                    if (c == eSubType.A || c == eSubType.B|| c == eSubType.C || c == eSubType.BM || c == eSubType.CM || c == eSubType.D)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 175);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    else if ( c == eSubType.E || c == eSubType.F)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    else if (c == eSubType.G || c == eSubType.H)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 125);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.FPE13:
                case EFootingType.FPE14:
                    if (c == eSubType.B || c == eSubType.C || c == eSubType.D)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    else if (c == eSubType.E)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 125);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }                    
                    break;
                case EFootingType.FPE21A:
                    if (c == eSubType.A || c == eSubType.B || c == eSubType.C || c == eSubType.BM || c == eSubType.CM)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 175);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    else if ( c == eSubType.D || c == eSubType.E)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.FPE21B:
                    if (c == eSubType.F || c == eSubType.G || c == eSubType.H || c == eSubType.I)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.FPE22:
                    if (c == eSubType.A || c == eSubType.B || c == eSubType.BM)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    else if (c == eSubType.C || c == eSubType.CM || c == eSubType.D || c == eSubType.E|| c == eSubType.F || c == eSubType.G || c == eSubType.H || c == eSubType.I)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 125);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.FPE23:
                    if (c == eSubType.A || c == eSubType.B )
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 175);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    else if (c == eSubType.C  || c == eSubType.D || c == eSubType.E)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }                  
                    else if (c == eSubType.F || c == eSubType.G || c == eSubType.H || c == eSubType.I)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 125);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.FPE31:
                    if (c == eSubType.A || c == eSubType.B || c == eSubType.C || c == eSubType.BM || c == eSubType.CM)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 175);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    else if (c == eSubType.D || c == eSubType.E )
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    else if ( c == eSubType.F || c == eSubType.G)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 125);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
                case EFootingType.FPE32:
                    if (c == eSubType.A || c == eSubType.B|| c == eSubType.C || c == eSubType.D || c == eSubType.E)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 175);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                   else if(c == eSubType.F || c == eSubType.G)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 175);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                     break;
                case EFootingType.FPTE7:
                    if (c == eSubType.D || c == eSubType.C)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 125);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB12, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    else
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 150);
                        dic.Add(1, dbdic);
                        //2号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                        //3号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(3, dbdic);
                        //4号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB16, 300);
                        dic.Add(4, dbdic);
                        //5号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB12, 300);
                        dic.Add(5, dbdic);
                        //6号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB32, 300);
                        dic.Add(6, dbdic);
                    }
                    break;
            }
            return dic;
        }

        /// <summary>
        /// 定义承台双层每一编号对应的钢筋（1b,2b的钢筋直径及间距）
        /// </summary>
        /// <param name="ePCType">类型</param>
        /// <param name="c">高度类型</param>
        /// <returns></returns>
        public static Dictionary<int, Dictionary<eDB, int>> GetFootingPara2ByType(EFootingType ePCType, eSubType c)
        {
            Dictionary<int, Dictionary<eDB, int>> dic = new Dictionary<int, Dictionary<eDB, int>>();
            Dictionary<eDB, int> dbdic = new Dictionary<eDB, int>();
            switch (ePCType)
            {
                case EFootingType.FPME41:
                    //if (c == eSubType.C)
                    //{
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 125);
                        dic.Add(1, dbdic);
                    //}
                    break;
                case EFootingType.F2PTM3:
                    //1号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB25, 250);
                    dic.Add(1, dbdic);
                    break;
                case EFootingType.FPTM1S:
                    if (c == eSubType.A || c == eSubType.B)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 250);
                        dic.Add(1, dbdic);
                    }
                    else if (c == eSubType.C)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 225);
                        dic.Add(1, dbdic);
                    }
                    else if (c == eSubType.D)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 225);
                        dic.Add(1, dbdic);
                    }
                    break;
                case EFootingType.FPTM2S:
                    if (c == eSubType.A || c == eSubType.B || c == eSubType.C)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 150);
                        //dbdic.Add(eDB.DB32, 150);//P328

                        dic.Add(1, dbdic);
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                    }
                    break;
             
                case EFootingType.FPTM3U:
                    if (c == eSubType.A || c == eSubType.B || c == eSubType.C)
                    {    //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB28, 150);
                        dic.Add(1, dbdic);
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 200);
                        dic.Add(2, dbdic);
                    }
                    break;
                case EFootingType.F2PTM1U:
                    if (c == eSubType.A || c == eSubType.B || c == eSubType.C)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 150);
                        dic.Add(1, dbdic);
                    }
                    break;
                case EFootingType.F2PTM1T:
                    if (c == eSubType.A || c == eSubType.B || c == eSubType.C)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 150);
                        dic.Add(1, dbdic);
                    }
                    break;
                case EFootingType.F2PTM2T:
                    if (c == eSubType.A || c == eSubType.B)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 250);
                        dic.Add(1, dbdic);
                    }
                    break;
                case EFootingType.F2PTM3T:
                    if (c == eSubType.A || c == eSubType.B)
                    {
                        //1号筋
                        dbdic = new Dictionary<eDB, int>();
                        dbdic.Add(eDB.DB25, 250);
                        dic.Add(1, dbdic);
                    }
                    break;
                case EFootingType.FPTM4:
                    //1号筋
                    dbdic = new Dictionary<eDB, int>();
                    dbdic.Add(eDB.DB25, 125);
                    dic.Add(1, dbdic);
                    break;
            }
            return dic;
        }
    }
}
